Skip to content

network: Fix metadata.xml results when old version is present#390

Merged
arthurzam merged 1 commit intomasterfrom
net-metadata-xml-fix
May 25, 2022
Merged

network: Fix metadata.xml results when old version is present#390
arthurzam merged 1 commit intomasterfrom
net-metadata-xml-fix

Conversation

@mgorny
Copy link
Copy Markdown
Contributor

@mgorny mgorny commented May 25, 2022

Apply metadata.xml URL check results to the newest package version
rather than the oldest, in order to fix displaying them when multiple
package versions are available. Since the result objects are subclasses
of FilteredVersionResult, they are filtered out when they do not apply
to the newest version.

Closes: #385

Apply metadata.xml URL check results to the newest package version
rather than the oldest, in order to fix displaying them when multiple
package versions are available.  Since the result objects are subclasses
of FilteredVersionResult, they are filtered out when they do not apply
to the newest version.

Closes: #385
@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2022

Codecov Report

Merging #390 (a054f7f) into master (c9aba2c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #390   +/-   ##
=======================================
  Coverage   95.66%   95.66%           
=======================================
  Files          55       55           
  Lines        7543     7543           
  Branches     1838     1838           
=======================================
  Hits         7216     7216           
  Misses        203      203           
  Partials      124      124           
Impacted Files Coverage Δ
src/pkgcheck/checks/network.py 79.21% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9aba2c...a054f7f. Read the comment docs.

Copy link
Copy Markdown
Member

@arthurzam arthurzam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look like it is included inside #392, but I can just merge this one :)

@arthurzam arthurzam merged commit a054f7f into master May 25, 2022
@arthurzam arthurzam deleted the net-metadata-xml-fix branch May 25, 2022 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

metadata.xml --net check results are sometimes not displayed

2 participants